namespace Animoso.Domain.Data
{
    public interface IUserRepository : IRepository<User>
    {
        bool ValidateUser(string username, string password);

        ///<summary></summary>
        /// <exception cref="NotFoundException">When user not found</exception>
        /// <returns>User object correspondinf with name</returns>
        User GetByUsername(string username);
    }
}